package com.fan.analysis.module.analysis.group.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fan.analysis.common.domain.BaseEntity;
import lombok.*;

import java.io.Serializable;

/**
 * 地区
 *
 * @author fan
 * @date 2021/10/03 21:04
 **/

@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName(value = "region")
public class RegionEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -7507083423306394123L;
    /**
     * 地区名称
     */
    @TableField("name")
    private String name;

    /**
     * 上级标号
     */
    @TableField("parent_code")
    private Integer parentCode;

    /**
     * 经度
     */
    @TableField("lng")
    private String lng;
    /**
     * 纬度
     */
    @TableField("lat")
    private String lat;

}
